Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Yearly occurrence with dtstart leads to infinite program run

#35

This code in rails console leads to infinite program run in occurrences method.

time = Time.parse("Fri Nov 19 18:00:00 UTC 2010").utc
event = RiCal.Event do

dtstart time
dtend time + 30.minutes
add_rrule "FREQ=YEARLY;BYMONTH=5;BYMONTHDAY=7;INTERVAL=2"

end
event.occurrences(:count => 3).map(&:start_time)

Also I've tried to run this test
https://github.com/rubyredrick/ri_cal/blob/master/spec/ri_cal/inf_l...
but with dtstart property changed from "DTSTART;VALUE=DATE:19400713" to "DTSTART:19701018T000000" in VEVENT section(and DTEND property too), and the result was the same (infinite run).

Reported by icem · November 18th, 2010 @ 01:18 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.